package com.cssl.service;

import com.cssl.dto.UpdateEquipmentDTO;
import com.cssl.entity.Equipment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cssl.entity.EquipmentRegion;
import com.cssl.exception.BusinessException;

import java.util.List;

/**
* @author 风止
* @description 针对表【equipment】的数据库操作Service
* @createDate 2025-03-22 22:05:17
*/
public interface EquipmentService extends IService<Equipment> {


    /**
     * 批量更新
     * @param listEq
     * @return
     */
    Boolean batchUpdateEq(List<UpdateEquipmentDTO> listEq) throws BusinessException;

    /**
     * 查询全部座位 和所在区域 （多对一）
     */
    List<Equipment> findEquipment();

    /**
     * 查询所有主键
     * @return
     */
    List<Long> findID();
}
